<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>Download Code Example</title>
        <link rel="stylesheet" href="/media/downloadcontrol/styles/paisley.css" />
        <link rel="stylesheet" href="/media/downloadcontrol/styles/downloadcontrol.css" />
        <script src="/media/downloadcontrol/js/jquery-1.2.6.js" type="text/javascript"></script>
        <script src="/media/downloadcontrol/js/downloadcontrol.js" type="text/javascript"></script>
        <script type="text/javascript">
            downloadcontrol = {
                request_download_url: '{{ request_download_url }}'
            };
        </script>
    </head>
    <body>
        <div id="example">
            Pretend this is your label's press kit page.  To see it in action, fire up the <a href="/_ah/admin/datastore">SDK Datastore Admin</a>, enter your Amazon credentials into AWSConfig, then edit the code BBBBB so that it points to a downloadable file in your S3 bucket. Make sure that Authenticated Users have read access (ACL) to the file.  Then enter the BBBBB code and click Get Download Link.
        </div>
        <div id="presskit_header">
            Mistadobalina Records
        </div>
        <div id="presskit_content">
        <div id="release_info">
            
            <table id="release_data">
            <tr>
                <th>Artist:</th>
                <td>Steve Dolfin</td>
            </tr>
            <tr>
                <th>Album:</th>
                <td>Hater's Grits</td>
            </tr>
            <tr>
                <th>Format:</th>
                <td>Vinyl LP, first 500 on colored vinyl</td>
            </tr>
            <tr>
                <th>Release Date:</th>
                <td>November 10, 2009</td>
            </tr>
            <tr>
                <th>Label contact:</th>
                <td>steve@stevedolfin.com</td>
            </tr>
            </table>
            
            <div id="tab_content">
            {% block tab_content %}
                
            {% endblock %}
            </div>
        </div>
        <div id="download_press_kit">
            <form action="/javascript-required">
                <div><label>Enter code:</label> 
                        <input id="access_code" name="access_code" type="text" /></div>
                <div id="download_press_kit_btn_row">
                        <input id="download_press_kit_btn" name="download_press_kit_btn" 
                            type="submit" value="Get download link" /></div>
                <div id="download_url"></div>
            </form>
        </div>
        <div class="cleared"></div>
        </div>
    </body>
</html>
